package TransactionImplementation

import (
	"SalaryPayment/AbstractTransaction"
	"SalaryPayment/Model"
	"SalaryPayment/ModelImplementation"
)

type ChangeDirectTransaction struct {
	AbstractTransaction.ChangeMethodTransaction
	itsBank    string
	itsAccount string
}

func (c *ChangeDirectTransaction) GetMethod() Model.PaymentMethod {
	return ModelImplementation.NewDirectMethod(c.itsBank, c.itsAccount)
}
